package cn.aitrox.ry.common.service;

import cn.aitrox.ry.constant.CommonConstant;
import org.apache.commons.lang3.StringUtils;

public abstract class BaseService {

    protected String getLikeSqlParam(String str) {
        String likeStr = null;
        if (StringUtils.isNotEmpty(str)) {
            likeStr = StringUtils.joinWith(CommonConstant.EMPTY, CommonConstant.BAIFEN_HAO, str, CommonConstant.BAIFEN_HAO);
        }
        return likeStr;
    }

}
